package com.twu.biblioteca.fakes;

import com.twu.biblioteca.models.Book;
import com.twu.biblioteca.interfaces.IBookProvider;

/**
 * Created with IntelliJ IDEA.
 * User: mmoise
 * Date: 14/05/2013
 * Time: 09:39
 * To change this template use File | Settings | File Templates.
 */
public class FakeBookProvider implements IBookProvider {
    public Book[] getAllBooksInTheLibrary(){
        Book book1 = new Book("TDD","Kent Beck","111");
        book1.reserve();
        Book book2 = new Book("Refactoring","Martin Fowler","222");
        Book[] books = {book1,book2};
        return books;
    }
}
